package com.jinhongone.pattern.structure.flyweight;

/*
 * 抽象享元角色
 * */
public abstract class AbstractBox {

    public abstract String getShape();

    public void display(String color) {
        System.out.println("图形名称：" + getShape() + ",图形颜色：" + color);
    }
}
